package com.ha.system.salary.mapper;

import java.util.List;
import com.ha.system.salary.domain.HaEmployeeSalary;

/**
 * 员工薪资Mapper接口
 * 
 * @author admin
 * @date 2021-03-17
 */
public interface HaEmployeeSalaryMapper 
{
    /**
     * 查询员工薪资
     * 
     * @param id 员工薪资ID
     * @return 员工薪资
     */
    public HaEmployeeSalary selectHaEmployeeSalaryById(Long id);

    /**
     * 查询员工薪资列表
     * 
     * @param haEmployeeSalary 员工薪资
     * @return 员工薪资集合
     */
    public List<HaEmployeeSalary> selectHaEmployeeSalaryList(HaEmployeeSalary haEmployeeSalary);

    /**
     * 新增员工薪资
     * 
     * @param haEmployeeSalary 员工薪资
     * @return 结果
     */
    public int insertHaEmployeeSalary(HaEmployeeSalary haEmployeeSalary);

    /**
     * 修改员工薪资
     * 
     * @param haEmployeeSalary 员工薪资
     * @return 结果
     */
    public int updateHaEmployeeSalary(HaEmployeeSalary haEmployeeSalary);

    /**
     * 删除员工薪资
     * 
     * @param id 员工薪资ID
     * @return 结果
     */
    public int deleteHaEmployeeSalaryById(Long id);

    /**
     * 批量删除员工薪资
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteHaEmployeeSalaryByIds(String[] ids);
}
